package com.bicon.botu.mall.order.common;

/**
 * 订单取消时间
 * @author jingwj
 * @date 2018/6/19 13:44
 */

public enum  CancelEnum{
    /**
     * 过期12小时
     */
    CANCEL_ORDER_12(12),

    /**
     * 过期24小时
     */
    CANCEL_ORDER_24(24),
    /**
     * 过期48小时
     */
    CANCEL_ORDER_48(48),
    /**
     * 不开启取消订单
     */
    CANCEL_ORDER_CLOSE(0);

    private int timeLength;

    CancelEnum(int timeLength) {
        this.timeLength = timeLength;
    }

    public int getTimeLength() {
        return this.timeLength;
    }


}
